/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.auth.service;

import com.xy.biz.auth.domain.bo.CaptchaBO;
import com.xy.lang.domain.Result;

/**
 * 
 * 
 * @author zsp
 * @date 2020-8-21
 */
public interface CaptchaService {
	
	/**
	 * 保存
	 *
	 * @param captchaCode
	 * @param type
	 */
	CaptchaBO saveCaptcha(String captchaCode, Integer type);
	
	/**
	 * 验证
	 *
	 * @param captchaId
	 * @param captchaCode
	 * @return 
	 */
	Result<?> verifyCaptcha(Long captchaId, String captchaCode);
	
}
